<Project>
  <Import Project="$([MSBuild]::GetPathOfFileAbove(Directory.Build.props, $(MSBuildThisFileDirectory)..))" />

  <PropertyGroup>
    <SharedFrameworkName>$(MicrosoftNetCoreAppFrameworkName)</SharedFrameworkName>
    <IsShipping Condition="'$(PgoInstrument)' != ''">false</IsShipping>
    <SharedFrameworkFriendlyName>.NET Runtime</SharedFrameworkFriendlyName>
  </PropertyGroup>

  <ItemGroup>
    <PackageOverridesFile Include="$(MSBuildThisFileDirectory)PackageOverrides.txt" />
  </ItemGroup>

  <!--
  Native files that are always included in the singlefile bundle can be listed here.

  Example:
    <SingleFileHostIncludeFilename Include="somefile.dll" />
  -->
  <ItemGroup>
    <!-- include at least one item. Otherwise there will be no opt-in list and everything will be included -->
    <SingleFileHostIncludeFilename Include="NONE" />

    <!-- LINUX -->

    <!-- OSX -->

    <!-- Windows -->
  </ItemGroup>

  <!--
    Platform manifest needs to include all native shims from previous releases.
    This itemgroup adds them explicitly.
  -->
  <ItemGroup>
    <_pastShimFiles Include="System.Globalization.Native.dylib" />
    <_pastShimFiles Include="System.Globalization.Native.so" />
    <_pastShimFiles Include="System.IO.Compression.Native.a" />
    <_pastShimFiles Include="System.IO.Compression.Native.dylib" />
    <_pastShimFiles Include="System.IO.Compression.Native.so" />
    <_pastShimFiles Include="System.Native.a" />
    <_pastShimFiles Include="System.Native.dylib" />
    <_pastShimFiles Include="System.Native.so" />
    <_pastShimFiles Include="System.Net.Http.Native.a" />
    <_pastShimFiles Include="System.Net.Http.Native.dylib" />
    <_pastShimFiles Include="System.Net.Http.Native.so" />
    <_pastShimFiles Include="System.Net.Security.Native.a" />
    <_pastShimFiles Include="System.Net.Security.Native.dylib" />
    <_pastShimFiles Include="System.Net.Security.Native.so" />
    <_pastShimFiles Include="System.Security.Cryptography.Native.Apple.a" />
    <_pastShimFiles Include="System.Security.Cryptography.Native.Apple.dylib" />
    <_pastShimFiles Include="System.Security.Cryptography.Native.OpenSsl.a" />
    <_pastShimFiles Include="System.Security.Cryptography.Native.OpenSsl.dylib" />
    <_pastShimFiles Include="System.Security.Cryptography.Native.OpenSsl.so" />
    <_pastShimFiles Include="clrcompression.dll" />
    <PlatformManifestFileEntry Include="@(_pastShimFiles)" IsNative="true" />
  </ItemGroup>

  <PropertyGroup>
    <UseDefaultPlatformManifestFallbackVersions>true</UseDefaultPlatformManifestFallbackVersions>
    <WindowsForwarderFileVersion>10.0.19041.1</WindowsForwarderFileVersion>
    <MicrosoftDiaSymReaderNativeFileVersion>14.28.29715.1</MicrosoftDiaSymReaderNativeFileVersion>
    <MsQuicFileVersion>1.8.0.0</MsQuicFileVersion>
  </PropertyGroup>

  <Import Project="$(LibrariesProjectRoot)NetCoreAppLibrary.props" />

  <ItemGroup>
    <!-- Public libraries and shims -->
    <PlatformManifestFileEntry Include="@(NetCoreAppLibrary->'%(Identity).dll')" />
    <PlatformManifestFileEntry Include="@(NetFxReference->'%(Identity).dll')" />
    <PlatformManifestFileEntry Include="netstandard.dll" />
    <!-- Private libraries -->
    <PlatformManifestFileEntry Include="System.Private.CoreLib.dll" />
    <PlatformManifestFileEntry Include="System.Private.DataContractSerialization.dll" />
    <PlatformManifestFileEntry Include="System.Private.Uri.dll" />
    <PlatformManifestFileEntry Include="System.Private.Xml.dll" />
    <PlatformManifestFileEntry Include="System.Private.Xml.Linq.dll" />
    <!-- Native libraries -->
    <PlatformManifestFileEntry Include="libSystem.Globalization.Native.a" IsNative="true" />
    <PlatformManifestFileEntry Include="libSystem.Globalization.Native.dylib" IsNative="true" />
    <PlatformManifestFileEntry Include="libSystem.Globalization.Native.so" IsNative="true" />
    <PlatformManifestFileEntry Include="libSystem.IO.Compression.Native.a" IsNative="true" />
    <PlatformManifestFileEntry Include="libSystem.IO.Compression.Native.dylib" IsNative="true" />
    <PlatformManifestFileEntry Include="libSystem.IO.Compression.Native.so" IsNative="true" />
    <PlatformManifestFileEntry Include="libSystem.Native.a" IsNative="true" />
    <PlatformManifestFileEntry Include="libSystem.Native.dylib" IsNative="true" />
    <PlatformManifestFileEntry Include="libSystem.Native.so" IsNative="true" />
    <PlatformManifestFileEntry Include="libSystem.Net.Http.Native.a" IsNative="true" />
    <PlatformManifestFileEntry Include="libSystem.Net.Http.Native.dylib" IsNative="true" />
    <PlatformManifestFileEntry Include="libSystem.Net.Http.Native.so" IsNative="true" />
    <PlatformManifestFileEntry Include="libSystem.Net.Security.Native.a" IsNative="true" />
    <PlatformManifestFileEntry Include="libSystem.Net.Security.Native.dylib" IsNative="true" />
    <PlatformManifestFileEntry Include="libSystem.Net.Security.Native.so" IsNative="true" />
    <PlatformManifestFileEntry Include="libSystem.Security.Cryptography.Native.Apple.a" IsNative="true" />
    <PlatformManifestFileEntry Include="libSystem.Security.Cryptography.Native.Apple.dylib" IsNative="true" />
    <PlatformManifestFileEntry Include="libSystem.Security.Cryptography.Native.Android.a" IsNative="true" />
    <PlatformManifestFileEntry Include="libSystem.Security.Cryptography.Native.Android.so" IsNative="true" />
    <PlatformManifestFileEntry Include="libSystem.Security.Cryptography.Native.Android.dex" IsNative="true" />
    <PlatformManifestFileEntry Include="libSystem.Security.Cryptography.Native.Android.jar" IsNative="true" />
    <PlatformManifestFileEntry Include="libSystem.Security.Cryptography.Native.OpenSsl.a" IsNative="true" />
    <PlatformManifestFileEntry Include="libSystem.Security.Cryptography.Native.OpenSsl.dylib" IsNative="true" />
    <PlatformManifestFileEntry Include="libSystem.Security.Cryptography.Native.OpenSsl.so" IsNative="true" />
    <PlatformManifestFileEntry Include="coreclr.dll" IsNative="true" />
    <PlatformManifestFileEntry Include="libcoreclr.so" IsNative="true" />
    <PlatformManifestFileEntry Include="libcoreclr.dylib" IsNative="true" />
    <PlatformManifestFileEntry Include="clrgc.dll" IsNative="true" />
    <PlatformManifestFileEntry Include="libclrgc.so" IsNative="true" />
    <PlatformManifestFileEntry Include="libclrgc.dylib" IsNative="true" />
    <PlatformManifestFileEntry Include="clrgcexp.dll" IsNative="true" />
    <PlatformManifestFileEntry Include="libclrgcexp.so" IsNative="true" />
    <PlatformManifestFileEntry Include="libclrgcexp.dylib" IsNative="true" />    
    <PlatformManifestFileEntry Include="clretwrc.dll" IsNative="true" />
    <PlatformManifestFileEntry Include="clrjit.dll" IsNative="true" />
    <PlatformManifestFileEntry Condition="'$(PgoInstrument)' != ''" Include="pgort140.dll" IsNative="true" />
    <PlatformManifestFileEntry Condition="'$(PgoInstrument)' != ''" Include="coreclr.pgd" IsNative="true" />
    <PlatformManifestFileEntry Condition="'$(PgoInstrument)' != ''" Include="clrjit.pgd" IsNative="true" />
    <PlatformManifestFileEntry Include="libclrjit.so" IsNative="true" />
    <PlatformManifestFileEntry Include="libclrjit.dylib" IsNative="true" />
    <PlatformManifestFileEntry Include="mscordaccore.dll" IsNative="true" />
    <PlatformManifestFileEntry Include="libmscordaccore.so" IsNative="true" />
    <PlatformManifestFileEntry Include="libmscordaccore.dylib" IsNative="true" />
    <PlatformManifestFileEntry Include="mscordbi.dll" IsNative="true" />
    <PlatformManifestFileEntry Include="libmscordbi.so" IsNative="true" />
    <PlatformManifestFileEntry Include="libmscordbi.dylib" IsNative="true" />
    <PlatformManifestFileEntry Include="mscorrc.dll" IsNative="true" />
    <PlatformManifestFileEntry Include="ucrtbase.dll" IsNative="true" />
    <PlatformManifestFileEntry Include="msquic.dll" IsNative="true" FallbackFileVersion="$(MsQuicFileVersion)" />
    <PlatformManifestFileEntry Include="libmsquic.dylib" IsNative="true" FallbackFileVersion="$(MsQuicFileVersion)" Condition="'$(Configuration)' == 'Debug' or '$(LibrariesConfiguration)' == 'Debug'"/>
    <PlatformManifestFileEntry Include="System.IO.Compression.Native.dll" IsNative="true" />
    <PlatformManifestFileEntry Include="System.Globalization.Native.dll" IsNative="true" />
    <PlatformManifestFileEntry Include="createdump.exe" IsNative="true" />
    <PlatformManifestFileEntry Include="createdump" IsNative="true" />
    <PlatformManifestFileEntry Include="libcoreclrtraceptprovider.so" IsNative="true" />
    <PlatformManifestFileEntry Include="Microsoft.DiaSymReader.Native.x86.dll" IsNative="true" FallbackFileVersion="$(MicrosoftDiaSymReaderNativeFileVersion)" />
    <PlatformManifestFileEntry Include="Microsoft.DiaSymReader.Native.amd64.dll" IsNative="true" FallbackFileVersion="$(MicrosoftDiaSymReaderNativeFileVersion)" />
    <PlatformManifestFileEntry Include="Microsoft.DiaSymReader.Native.arm.dll" IsNative="true" FallbackFileVersion="$(MicrosoftDiaSymReaderNativeFileVersion)" />
    <PlatformManifestFileEntry Include="Microsoft.DiaSymReader.Native.arm64.dll" IsNative="true" FallbackFileVersion="$(MicrosoftDiaSymReaderNativeFileVersion)" />
    <!-- NativeAOT/Unix specific files -->
    <PlatformManifestFileEntry Include="libbootstrapper.a" IsNative="true" /> <!-- The bootstrapper lib used to be a static library, now it's an object file. -->
    <PlatformManifestFileEntry Include="libbootstrapperdll.a" IsNative="true" />
    <PlatformManifestFileEntry Include="libbootstrapper.o" IsNative="true" />
    <PlatformManifestFileEntry Include="libbootstrapperdll.o" IsNative="true" />
    <PlatformManifestFileEntry Include="libeventpipe-disabled.a" IsNative="true" />
    <PlatformManifestFileEntry Include="libeventpipe-enabled.a" IsNative="true" />
    <PlatformManifestFileEntry Include="libRuntime.ServerGC.a" IsNative="true" />
    <PlatformManifestFileEntry Include="libRuntime.WorkstationGC.a" IsNative="true" />
    <PlatformManifestFileEntry Include="libstandalonegc-disabled.a" IsNative="true" />
    <PlatformManifestFileEntry Include="libstandalonegc-enabled.a" IsNative="true" />
    <PlatformManifestFileEntry Include="libstdc++compat.a" IsNative="true" />
    <!-- NativeAOT/Windows specific files -->
    <PlatformManifestFileEntry Include="bootstrapper.obj" IsNative="true" />
    <PlatformManifestFileEntry Include="bootstrapper.GuardCF.obj" IsNative="true" />
    <PlatformManifestFileEntry Include="bootstrapperdll.obj" IsNative="true" />
    <PlatformManifestFileEntry Include="bootstrapperdll.GuardCF.obj" IsNative="true" />
    <PlatformManifestFileEntry Include="eventpipe-disabled.lib" IsNative="true" />
    <PlatformManifestFileEntry Include="eventpipe-disabled.GuardCF.lib" IsNative="true" />
    <PlatformManifestFileEntry Include="eventpipe-enabled.lib" IsNative="true" />
    <PlatformManifestFileEntry Include="eventpipe-enabled.GuardCF.lib" IsNative="true" />
    <PlatformManifestFileEntry Include="Runtime.ServerGC.lib" IsNative="true" />
    <PlatformManifestFileEntry Include="Runtime.ServerGC.GuardCF.lib" IsNative="true" />
    <PlatformManifestFileEntry Include="Runtime.WorkstationGC.lib" IsNative="true" />
    <PlatformManifestFileEntry Include="Runtime.VxsortEnabled.lib" IsNative="true" />
    <PlatformManifestFileEntry Include="Runtime.VxsortEnabled.GuardCF.lib" IsNative="true" />
    <PlatformManifestFileEntry Include="Runtime.VxsortDisabled.lib" IsNative="true" />
    <PlatformManifestFileEntry Include="standalonegc-disabled.lib" IsNative="true" />
    <PlatformManifestFileEntry Include="standalonegc-disabled.GuardCF.lib" IsNative="true" />
    <PlatformManifestFileEntry Include="standalonegc-enabled.lib" IsNative="true" />
    <PlatformManifestFileEntry Include="standalonegc-enabled.GuardCF.lib" IsNative="true" />
    <PlatformManifestFileEntry Include="System.Globalization.Native.Aot.lib" IsNative="true" />
    <PlatformManifestFileEntry Include="System.Globalization.Native.Aot.GuardCF.lib" IsNative="true" />
    <PlatformManifestFileEntry Include="System.IO.Compression.Native.Aot.lib" IsNative="true" />
    <PlatformManifestFileEntry Include="System.IO.Compression.Native.Aot.GuardCF.lib" IsNative="true" />
    <!-- NativeAOT managed specific files -->
    <PlatformManifestFileEntry Include="System.Private.DisabledReflection.dll" />
    <PlatformManifestFileEntry Include="System.Private.Reflection.Execution.dll" />
    <PlatformManifestFileEntry Include="System.Private.StackTraceMetadata.dll" />
    <PlatformManifestFileEntry Include="System.Private.TypeLoader.dll" />
    <!-- Mono-specific files -->
    <PlatformManifestFileEntry Include="monosgen-2.0.lib" IsNative="true" />
    <PlatformManifestFileEntry Include="libmonosgen-2.0.a" IsNative="true" />
    <PlatformManifestFileEntry Include="libmonosgen-2.0.so" IsNative="true" />
    <PlatformManifestFileEntry Include="libmonosgen-2.0.dylib" IsNative="true" />
    <PlatformManifestFileEntry Include="llc" IsNative="true" />
    <PlatformManifestFileEntry Include="mono-aot-cross" IsNative="true" />
    <PlatformManifestFileEntry Include="mono-aot-cross.exe" IsNative="true" />
    <PlatformManifestFileEntry Include="opt" IsNative="true" />
    <!-- libc++ for C++17 support on older distributions -->
    <PlatformManifestFileEntry Include="libc++.so.1" IsNative="true" />
    <PlatformManifestFileEntry Include="libc++abi.so.1" IsNative="true" />
    <!-- Mono components specific files -->
    <PlatformManifestFileEntry Include="libmono-component-diagnostics_tracing.dll" IsNative="true" />
    <PlatformManifestFileEntry Include="libmono-component-diagnostics_tracing.so" IsNative="true" />
    <PlatformManifestFileEntry Include="libmono-component-diagnostics_tracing.dylib" IsNative="true" />
    <PlatformManifestFileEntry Include="libmono-component-diagnostics_tracing-static.a" IsNative="true" />
    <PlatformManifestFileEntry Include="libmono-component-diagnostics_tracing-stub-static.a" IsNative="true" />
    <PlatformManifestFileEntry Include="libmono-component-diagnostics_tracing-static.lib" IsNative="true" />
    <PlatformManifestFileEntry Include="libmono-component-diagnostics_tracing-stub-static.lib" IsNative="true" />
    <PlatformManifestFileEntry Include="libmono-component-hot_reload.dll" IsNative="true" />
    <PlatformManifestFileEntry Include="libmono-component-hot_reload.so" IsNative="true" />
    <PlatformManifestFileEntry Include="libmono-component-hot_reload.dylib" IsNative="true" />
    <PlatformManifestFileEntry Include="libmono-component-hot_reload-static.a" IsNative="true" />
    <PlatformManifestFileEntry Include="libmono-component-hot_reload-stub-static.a" IsNative="true" />
    <PlatformManifestFileEntry Include="libmono-component-hot_reload-static.lib" IsNative="true" />
    <PlatformManifestFileEntry Include="libmono-component-hot_reload-stub-static.lib" IsNative="true" />
    <PlatformManifestFileEntry Include="libmono-component-debugger.dll" IsNative="true" />
    <PlatformManifestFileEntry Include="libmono-component-debugger.so" IsNative="true" />
    <PlatformManifestFileEntry Include="libmono-component-debugger.dylib" IsNative="true" />
    <PlatformManifestFileEntry Include="libmono-component-debugger-static.a" IsNative="true" />
    <PlatformManifestFileEntry Include="libmono-component-debugger-stub-static.a" IsNative="true" />
    <PlatformManifestFileEntry Include="libmono-component-debugger-static.lib" IsNative="true" />
    <PlatformManifestFileEntry Include="libmono-component-debugger-stub-static.lib" IsNative="true" />
    <PlatformManifestFileEntry Include="libmono-component-marshal-ilgen.dll" IsNative="true" />
    <PlatformManifestFileEntry Include="libmono-component-marshal-ilgen.so" IsNative="true" />
    <PlatformManifestFileEntry Include="libmono-component-marshal-ilgen.dylib" IsNative="true" />
    <PlatformManifestFileEntry Include="libmono-component-marshal-ilgen-static.a" IsNative="true" />
    <PlatformManifestFileEntry Include="libmono-component-marshal-ilgen-stub-static.a" IsNative="true" />
    <PlatformManifestFileEntry Include="libmono-component-marshal-ilgen-static.lib" IsNative="true" />
    <PlatformManifestFileEntry Include="libmono-component-marshal-ilgen-stub-static.lib" IsNative="true" />
    <!-- Mono WASM-specific files -->
    <PlatformManifestFileEntry Include="libmono-ee-interp.a" IsNative="true" />
    <PlatformManifestFileEntry Include="libmono-icall-table.a" IsNative="true" />
    <PlatformManifestFileEntry Include="libmono-profiler-aot.a" IsNative="true" />
    <PlatformManifestFileEntry Include="libmono-profiler-browser.a" IsNative="true" />
    <PlatformManifestFileEntry Include="libmono-wasm-eh-js.a" IsNative="true" />
    <PlatformManifestFileEntry Include="libmono-wasm-eh-wasm.a" IsNative="true" />
    <PlatformManifestFileEntry Include="libmono-wasm-simd.a" IsNative="true" />
    <PlatformManifestFileEntry Include="libmono-wasm-nosimd.a" IsNative="true" />
    <PlatformManifestFileEntry Include="wasm-bundled-timezones.a" IsNative="true" />
    <PlatformManifestFileEntry Include="dotnet.js" IsNative="true" />
    <PlatformManifestFileEntry Include="dotnet.js.map" IsNative="true" />
    <PlatformManifestFileEntry Include="dotnet.runtime.js" IsNative="true" />
    <PlatformManifestFileEntry Include="dotnet.runtime.js.map" IsNative="true" />
    <PlatformManifestFileEntry Include="dotnet.native.js" IsNative="true" />
    <PlatformManifestFileEntry Include="dotnet.native.worker.js" IsNative="true" />
    <PlatformManifestFileEntry Include="dotnet.native.js.symbols" IsNative="true" />
    <PlatformManifestFileEntry Include="dotnet.d.ts" IsNative="true" />
    <PlatformManifestFileEntry Include="dotnet.native.wasm" IsNative="true" />
    <PlatformManifestFileEntry Include="icudt.dat" IsNative="true" />
    <PlatformManifestFileEntry Include="icudt_no_CJK.dat" IsNative="true" />
    <PlatformManifestFileEntry Include="icudt_CJK.dat" IsNative="true" />
    <PlatformManifestFileEntry Include="icudt_EFIGS.dat" IsNative="true" />
    <PlatformManifestFileEntry Include="icudt_optimal.dat" IsNative="true" />
    <PlatformManifestFileEntry Include="icudt_optimal_no_CJK.dat" IsNative="true" />
    <PlatformManifestFileEntry Include="icudt_hybrid.dat" IsNative="true" />
    <PlatformManifestFileEntry Include="segmentation-rules.json" IsNative="true" />
    <PlatformManifestFileEntry Include="package.json" IsNative="true" />
    <PlatformManifestFileEntry Include="dotnet.es6.pre.js" IsNative="true" />
    <PlatformManifestFileEntry Include="dotnet.es6.lib.js" IsNative="true" />
    <PlatformManifestFileEntry Include="dotnet.es6.extpost.js" IsNative="true" />
    <PlatformManifestFileEntry Include="corebindings.c" IsNative="true" />
    <PlatformManifestFileEntry Include="runtime.h" IsNative="true" />
    <PlatformManifestFileEntry Include="runtime.c" IsNative="true" />
    <PlatformManifestFileEntry Include="driver.c" IsNative="true" />
    <PlatformManifestFileEntry Include="pinvoke.c" IsNative="true" />
    <PlatformManifestFileEntry Include="pinvoke.h" IsNative="true" />
    <PlatformManifestFileEntry Include="gc-common.h" IsNative="true" />
    <PlatformManifestFileEntry Include="wasm-config.h" IsNative="true" />
    <PlatformManifestFileEntry Include="emcc-default.rsp" IsNative="true" />
    <PlatformManifestFileEntry Include="emcc-link.rsp" IsNative="true" />
    <PlatformManifestFileEntry Include="wasm-props.json" IsNative="true" />
    <PlatformManifestFileEntry Include="wasi-default.rsp" IsNative="true" />
    <PlatformManifestFileEntry Include="wasi-link.rsp" IsNative="true" />
    <PlatformManifestFileEntry Include="ILLink.Substitutions.WasmIntrinsics.xml" IsNative="true" />
    <PlatformManifestFileEntry Include="ILLink.Substitutions.NoWasmIntrinsics.xml" IsNative="true" />
    <PlatformManifestFileEntry Include="ILLink.Substitutions.LegacyJsInterop.xml" IsNative="true" />
    <!-- wasi specific -->
    <PlatformManifestFileEntry Include="main.c" IsNative="true" />
    <PlatformManifestFileEntry Include="driver.h" IsNative="true" />
    <PlatformManifestFileEntry Include="stubs.c" IsNative="true" />
    <PlatformManifestFileEntry Include="synthetic-pthread.c" IsNative="true" />
    <PlatformManifestFileEntry Include="dotnet.wasm" IsNative="true" />
    <!-- ICU-specific files -->
    <PlatformManifestFileEntry Include="libicudata.a" IsNative="true" />
    <PlatformManifestFileEntry Include="libicui18n.a" IsNative="true" />
    <PlatformManifestFileEntry Include="libicuuc.a" IsNative="true" />
  </ItemGroup>

 <ItemGroup>
    <!-- Exclude shims from the closure verification -->
    <ExcludeFromClosure Include="@(NetFxReference)" />
 </ItemGroup>

  <ItemGroup Condition="'$(DotNetBuildSourceOnly)' != 'true'">
    <!-- Add a reference to Microsoft.DiaSymReader.Native if one does not already exist. -->
    <PackageReference Include="Microsoft.DiaSymReader.Native"
                      Exclude="@(PackageReference)"
                      Version="$(MicrosoftDiaSymReaderNativeVersion)"
                      IsImplicitlyDefined="true"
                      ExcludeAssets="all" />
    <!-- Generate the PkgMicrosoft_DiaSymReader_Native property no matter who added the reference. -->
    <PackageReference Update="Microsoft.DiaSymReader.Native"
                      GeneratePathProperty="true" />
  </ItemGroup>

  <PropertyGroup>
    <_hostArch>$(TargetArchitecture)</_hostArch>
    <_longNameTargetArch>$(TargetArchitecture)</_longNameTargetArch>
    <_hostArch Condition="'$(_hostArch)' == 'x64'">amd64</_hostArch>
    <_longNameTargetArch Condition="'$(_longNameTargetArch)' == 'x64'">amd64</_longNameTargetArch>
  </PropertyGroup>
  <PropertyGroup Condition="'$(TargetArchitecture)' == 'arm' AND '$(OS)' == 'Windows_NT'">
    <_hostArch>x86</_hostArch>
  </PropertyGroup>
  <PropertyGroup Condition="'$(TargetArchitecture)' == 'arm' AND '$(OS)' != 'Windows_NT'">
    <_hostArch>amd64</_hostArch>
  </PropertyGroup>
  <PropertyGroup Condition="'$(TargetArchitecture)' == 'arm64' AND '$(BuildArchitecture)' != 'arm64'">
    <_hostArch>amd64</_hostArch>
  </PropertyGroup>

</Project>
